/* $Id: DJudgeGWTLoginServiceAsync.java 138 2011-09-01 17:51:37Z altdotua@gmail.com $ */

package alt.djudge.frontend.client.rpc;

import alt.djudge.frontend.shared.dto.contest.UserLoginInfo;

import com.google.gwt.user.client.rpc.AsyncCallback;


public interface DJudgeGWTLoginServiceAsync
{

	void doLogout(String sessionId, AsyncCallback<Boolean> callback);

	void doLogin(String username, String password,
			AsyncCallback<UserLoginInfo> callback);

	void doRegister(String username, String password, String email,
			AsyncCallback<Boolean> callback);

}
